
		<div id="main-content"> <!-- Main Content Section with everything -->			
			<!-- Page Head -->						
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3><?php echo $query?'Modify':'NEW'?> DHCP</h3>					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div >
					
						<form action="<?php echo base_url()?>net_dhcp/modify" method="post">
								<input type='hidden' name='id' value='<?php echo $query?$query['id']:''?>'>						
								<p>
									<label>Host：</label>
										<input class="text-input small-input" type="text" id="small-input" name="host" value='<?php echo $query?$query['host']:''?>' /> 
										
								</p>
								<p>
									<label>Mac：</label>
										<input class="text-input small-input" type="text" id="small-input" name="mac" value='<?php echo $query?$query['mac']:''?>' /> 
										
								</p>
								<p>
									<label>IP：</label>
										<input class="text-input small-input" type="text" id="small-input" name="ip" value='<?php echo $query?$query['ip']:''?>' /> 
										
								</p>
								<p>
									<label>员工名称：</label>
										<input class="text-input small-input" type="text" id="small-input" name="name" value='<?php echo $query?$query['name']:''?>' /> 
										
								</p>
								<p>
									<label>部门：</label>
									<select name="unit">
										<option value='无' <?php echo ($query&&$query['unit']=='无')?'selected':''?>>无</option>
										<option value='技术部' <?php echo ($query&&$query['unit']=='技术部')?'selected':''?>>技术部</option>
										<option value='编辑部' <?php echo ($query&&$query['unit']=='编辑部')?'selected':''?>>编辑部</option>
										<option value='财务' <?php echo ($query&&$query['unit']=='财务')?'selected':''?>>财务</option>
									</select>
								</p>
								<p>
									<label>计算机名称：</label>
										<input class="text-input small-input" type="text" id="small-input" name="computer" value='<?php echo $query?$query['computer_name']:''?>' /> 
									
								</p>
								
								<p>
									<label>备注：</label>
									<textarea class="text-input" wrap='virtual' name="note" cols="20" rows="15"><?php echo $query?$query['note']:''?></textarea>
								</p>
								
								<p>
									<input class="button" type="submit" value="Submit" />
								</p>							
							<div class="clear"></div><!-- End .clear -->
							
						</form>						
					</div>					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			<div class="clear"></div>			
		</div> <!-- End #main-content -->	
	</div>
</body>
  

<!-- Download From www.exet.tk-->
</html>